package com.wqtz.chechai.bean;

import java.util.List;

/**
 * 项目名称： CheChai
 * 创建人 : Liberation
 * 创建时间: 2016/12/28 14:59
 */

public class CarResultBean {

	/**
	 * reason : 成功返回
	 * result : {"est_price_result":[15.03,13.83,16.08],"est_price_area":[{"price":15.49,"area":"东北地区","areaid":"1"},{"price":14.83,"area":"东部沿海地区","areaid":"2"},{"price":15.03,"area":"南部沿海地区","areaid":"3"},{"price":17.22,"area":"黄河中游地区","areaid":"4"},{"price":15.6,"area":"长江中游地区","areaid":"5"},{"price":16.65,"area":"西南地区","areaid":"6"},{"price":15.64,"area":"西北地区","areaid":"7"},{"price":14.83,"area":"北部沿海地区","areaid":"9"}]}
	 * error_code : 0
	 */

	private String reason;
	private ResultBean result;
	private int error_code;

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	public ResultBean getResult() {
		return result;
	}

	public void setResult(ResultBean result) {
		this.result = result;
	}

	public int getError_code() {
		return error_code;
	}

	public void setError_code(int error_code) {
		this.error_code = error_code;
	}

	public static class ResultBean {
		private List<Double> est_price_result;
		private List<EstPriceAreaBean> est_price_area;

		public List<Double> getEst_price_result() {
			return est_price_result;
		}

		public void setEst_price_result(List<Double> est_price_result) {
			this.est_price_result = est_price_result;
		}

		public List<EstPriceAreaBean> getEst_price_area() {
			return est_price_area;
		}

		public void setEst_price_area(List<EstPriceAreaBean> est_price_area) {
			this.est_price_area = est_price_area;
		}

		public static class EstPriceAreaBean {
			/**
			 * price : 15.49
			 * area : 东北地区
			 * areaid : 1
			 */

			private double price;
			private String area;
			private String areaid;

			public double getPrice() {
				return price;
			}

			public void setPrice(double price) {
				this.price = price;
			}

			public String getArea() {
				return area;
			}

			public void setArea(String area) {
				this.area = area;
			}

			public String getAreaid() {
				return areaid;
			}

			public void setAreaid(String areaid) {
				this.areaid = areaid;
			}
		}
	}
}
